const getters = {
    isCollapse: state => state.setting.isCollapse,
    currentMenu: state => state.setting.currentMenu,
    color: state => state.setting.color,
    token: state => state.user.token,
    name: state => state.user.name,
    avatar: state => state.user.avatar,
    roles: state => state.user.roles,
    permission_routers: state => state.permission.routes,
}
export default getters